::-webkit-input-placeholder {
    /* Chrome/Opera/Safari */
    color: #888 !important;
}
::-moz-placeholder {
    /* Firefox 19+ */
    color: #888 !important;
}
:-ms-input-placeholder {
    /* IE 10+ */
    color: #888 !important;
}

.cart_wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);

    z-index: 999;
    display: none;
}

.cart_inner {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    position: relative;
}

.cart_modal {
    max-height: 90vh;
    box-sizing: border-box;
    padding: 15px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 0 15px #aaa;
    position: relative;
    max-width: 360px;
    width: 100%;
}

.cart_modal h2 {
    font-size: 22pt;
}

.close_btn {
    position: absolute;
    display: block;
    width: 28px;
    height: 28px;
    top: 5px;
    right: 5px;
    cursor: pointer;
    background: url(../images/close-p.png) no-repeat;
}

.cart_body {
    overflow-y: hidden;
    height: 100%;
}

.cart_body p {
    font-size: 11pt;
}

.cart_body section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px;
    border-bottom: 1px solid #ddd;
}

.cart_preview {
    width: 64px;
    height: 64px;
    border: 2px solid #bbb;
    border-radius: 50%;
    background-position: center !important;
    background-size: cover !important;
}

.remove_btn {
    width: 18px;
    height: 18px;
    background: url(../images/remove.png);
    background-size: contain;
    opacity: 0.8;
    cursor: pointer;
}

.remove_btn:hover {
    opacity: 1;
}

.cart_body form {
    text-align: center;
}

.cart_table {
    position: relative;
    max-height: 300px;
    overflow-y: auto;
}

.cart_inp {
    margin: 10px;
    outline: 0;
    height: 50px;
    border: 1px solid #ccc;
    text-align: center;
    font-size: 18px;
    font-family: 'Open Sans', Helvetica, sans-serif;
    font-weight: 400;
    border-radius: 35px;
    max-width: 300px;
    width: 100%;
}

.cart_btn {
    margin: 15px auto;
    border-radius: 8px;
    border: 0;
    cursor: pointer;
    width: 290px;
    font-family: 'Open Sans', Helvetica, sans-serif;
    color: #fff;
    font-weight: 700;
    font-size: 20px;
    background: #f05;
    display: block;
    text-align: center;
    padding: 20px 0px;
    box-shadow: 0px 2px 6px #b03;
    text-transform: uppercase;
    position: relative;
    transform: scale(0.9);
    transition: all 0.3s;
}

.cart_btn:hover {
    transform: scale(1);
    background: #999;
    box-shadow: 0px 3px 8px #222;
}

.cart_widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: url(../images/cart.png) no-repeat center;
    background-size: 54px;
    background-color: #fb0;
    border: 3px solid #b03;
    opacity: 0.9;
    cursor: pointer;
    transition: all 0.3s;
}

.cart_widget:hover {
    transform: scale(1.1);
    opacity: 1;
}

.cart_widget span {
    position: absolute;
    top: -8px;
    left: -8px;
    display: block;
    width: 22px;
    padding: 4px;
    border-radius: 50%;
    background: #f05;
    color: #fff;
    font-weight: bold;
    text-align: center;
}

.cart_empty {
    margin-top: 20px;
    font-size: 20pt !important;
    font-weight: bold;
    color: #ccc;
    text-align: center;
}

.cart_total {
    margin-top: 20px;
    font-size: 20pt !important;
    font-weight: bold;
    color: #222;
    text-align: left;
}

.cart_add_window {
    margin: auto;
    position: fixed;
    top: 50%;
    left: 0;
    right: 0;
    width: 30%;
    padding: 30px;
    background: #eee;
    border-radius: 4px;
    box-shadow: 0 0 10px #aaa;
    text-align: center;
    z-index: 99;
    display: none;
}

.cart_add_window p {
    font-size: 20pt;
    font-weight: bold;
    color: #f05;
}
